﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp.Models
{
    public class Word
    {
        //单词的名字
        public string? Name { get; set; }
        //单词的释义
        public Dictionary<string, string>? Meaning { get; set; }
        public ObservableCollection<KeyValuePair<string, string>>? MeaningCollection {
            get { return new ObservableCollection<KeyValuePair<string, string>>(Meaning.ToList()); } }
        //单词的熟练度
        public int Score { get; set; }
        /*//测试
        public string Description;*/
        public Word() {
            
        }
    }
}
